<?php
class Profile_User extends Profile {
	
	public function __construct($db, $userid = null) {
		parent::__construct($db, 'usersprofile');
		
		if($userid > 0) {
			$this->setUserId($userid);
		}
	}
	
	public function setUserId($userid) {
		$filters = array('userid' =>(int)$userid);
		$this->_filters = $filters;
	}
}
?>